from tornado import websocket
url = 'ws://14.119.109.232:30777/chat'
conn =  websocket.websocket_connect(url)


while True:
	msg =  conn.read_message()
	if msg is None:
		break

